<html>
<head><meta charset="utf-8"><title>nixos and download-ci-llvm · t-compiler · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/index.html">t-compiler</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/nixos.20and.20download-ci-llvm.html">nixos and download-ci-llvm</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="216845341"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/nixos%20and%20download-ci-llvm/near/216845341" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> est31 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/nixos.20and.20download-ci-llvm.html#216845341">(Nov 16 2020 at 08:53)</a>:</h4>
<p>Is anyone using nix os and enabling the download-ci-llvm option? I'm getting an error when using it:</p>
<div class="codehilite"><pre><span></span><code>x86_64-unknown-linux-gnu/ci-llvm/bin/llvm-config: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
</code></pre></div>



<a name="216845582"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/nixos%20and%20download-ci-llvm/near/216845582" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> est31 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/nixos.20and.20download-ci-llvm.html#216845582">(Nov 16 2020 at 08:55)</a>:</h4>
<p>oh I figured it out, I had to add zlib to <code>LD_LIBRARY_PATH</code>.</p>



<a name="216845588"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/nixos%20and%20download-ci-llvm/near/216845588" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> est31 <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/nixos.20and.20download-ci-llvm.html#216845588">(Nov 16 2020 at 08:55)</a>:</h4>
<p>NVM!</p>



<a name="216895698"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/nixos%20and%20download-ci-llvm/near/216895698" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/nixos.20and.20download-ci-llvm.html#216895698">(Nov 16 2020 at 16:31)</a>:</h4>
<p>we patchelf libz in x.py for some things already, this sounds like an oversight</p>



<a name="216895752"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/nixos%20and%20download-ci-llvm/near/216895752" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/nixos.20and.20download-ci-llvm.html#216895752">(Nov 16 2020 at 16:31)</a>:</h4>
<p>see e.g. <a href="https://github.com/rust-lang/rust/pull/74441">https://github.com/rust-lang/rust/pull/74441</a></p>



<a name="216895946"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/131828-t-compiler/topic/nixos%20and%20download-ci-llvm/near/216895946" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/131828-t-compiler/topic/nixos.20and.20download-ci-llvm.html#216895946">(Nov 16 2020 at 16:32)</a>:</h4>
<p>yeah, probably</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>